package iit.projects.etaxi.model.dao;



import iit.projects.etaxi.model.entity.Sequence;
import iit.projects.etaxi.model.exception.DuplicateSequenceException;
import iit.projects.etaxi.model.exception.SequenceNotFoundException;

public interface SequenceDao {
	
	public Sequence addSequence(Sequence sequence) throws DuplicateSequenceException;
	
	public Sequence findByPrimaryKey(String sequenceName) throws SequenceNotFoundException;
	
	public Sequence updateSequence(Sequence sequence);
	
	public void deleteSequence(Sequence sequence);
	
}